package com.mla.fastdfs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 *
 * @author Jun
 * @version v1.0
 * @date 2020-08-17
 */
@Data
@Accessors(chain = true)
@TableName("permission")
public class Permission {

    /****/
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**菜单名称**/
    private String name;

    /**父菜单id**/
    private Integer pid;

    /**菜单排序**/
    private Integer zindex;

    /**权限分类（0 菜单；1 功能）**/
    private Integer istype;

    /**等级**/
    private Integer level;

    /**描述**/
    private String descpt;

    /**菜单编号**/
    private String code;

    /**菜单图标名称**/
    private String icon;

    /**菜单url**/
    private String page;

    /**添加时间**/
    private String insertTime;

    /**更新时间**/
    private String updateTime;
}